<?php
	$kode=$_POST['kode'];
	$nama=$_POST['nama'];
	$keterangan=$_POST['keterangan'];
	$not_klaim=$_POST['not_klaim'];

	if(isset($_POST['submit'])){
		$sql="update master_diagnosis set nama='$nama',keterangan='$keterangan',not_klaim='$not_klaim' where icd10='$kode'";
		$qry=mysql_query($sql);
	}
	
	$url_sukses='utama.php?module=mod_mdiagnosis';
	if($qry){
		echo "<meta http-equiv='refresh' content='0; url=$url_sukses'>";
		exit;
	}else{
		echo mysql_error();
	}
?>